Welcome Guest, you are in: Login
CTS Futures
Home
Pricing
Market Data
FAQ
Videos

T4 Desktop
User Guide
Scripting Guide
Release Notes

Mobile and Web
T4 Mobile for Android
T4 Mobile for iOS
T4 Mobile for Browser
T4 WebTrader

Admins
T4 Admin Guide
MiFID II/MiFIR

Developers
API 4.7 Guide
FIX API


Original text


Original text


}

Page History: DDE - Getting data into Microsoft Excel

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2012/01/26 07:30


T4 supports sending data via DDE to other applications, such as Microsoft Excel.



To send quote data you need to have an open Quote Board window containing the markets that you want to see, then click the ‘DDE’ button and go to Excel. Right click on a cell in Excel and choose the ‘Paste’ menu item. This will paste a table of links to T4 that contain the same markets and columns as your Quote Board. Alternatively, you can right click on a single value in the Quote Board and select the ‘Copy DDE Link’ menu item, then paste into Excel and only that value will be linked.



Note: For Excel to get quotes the Market MUST be displayed in the T4 frontend somewhere, either in a Quote Board or contract window BEFORE it is linked to from Excel. This also applies if you are loading a saved Excel spreadsheet.



The DDE link format for market data in Excel is:



=T4Screen|MKT_!



Where:

is the unique identifier for the market in T4. This does not match any exchange published symbol. You can only obtain these by using the above method of copying the link for a value from T4 and pasting it into Excel or some other application.

is the data value of the market that you want, for example last trade price. The valid values are shown below:


ValueMeaning

DescriptionThe name of the market.

NumeratorThe smallest amount that the price of a market can move by, in ticks.

DenominatorThe denominator used for converting ticks into price and vice-versa.

Settlement_Price,Settlement_TicksThe last settlement price received.

Open_Price,Open_TicksThe opening trade price for the day.

High_Price,High_TicksThe highest traded price for the day.

Low_Price,Low_TicksThe lowest traded price for the day.

ModeThe current market state, e.g. PreOpen, Open, Closed etc.

Total_Traded_VolumeThe total volume traded by this market today.

Last_Trade_VolumeThe last volume traded at the current price. If the frontend is set to show the total traded at this price since the last price changed then that value will be sent, otherwise the volume just traded will be sent.

Last_Trade_Price,Last_Trade_TicksThe price of the last trade to occur.

Bid_VolumeThe volume of the current best bid.

Bid_Price,Bid_TicksThe price of the current best bid.

Offer_VolumeThe volume of the current best offer.

Offer_Price,Offer_TicksThe price of the current best offer.

Net_Change_Price,Net_Change_TicksThe net change from the last settlement price to the last trade price.




Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

2 Pierce Pl, Suite 200, Itasca, IL 60143

© 2009-2023 Cunningham Trading Systems LLC All rights reserved.